package se.id.vrapp;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class StartMenuActivity extends Activity implements OnClickListener {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.start_menu_activity);

		Button b2 = (Button) findViewById(R.id.main_menu_button_startrace);

		b2.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {

		switch (v.getId()) {

		case R.id.main_menu_button_startrace:
			Intent intent2 = new Intent(this, VRappActivity.class);
			startActivity(intent2);
			break;
		}

	}
}
